negotiator.boaframework
Class AcceptanceStrategy

java.lang.Object
  extended by negotiator.boaframework.AcceptanceStrategy

public abstract class AcceptanceStrategy
extends java.lang.Object

Describes an acceptance strategy of an agent of the BOA framework. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies

Author:
Alex Dirkzwager, Mark Hendrikx

Constructor Summary
AcceptanceStrategy()
           
 
Method Summary
abstract  Actions determineAcceptability()
          Determines to either to either accept or reject the opponent's bid or even quit the negotiation.
 void init(NegotiationSession negotiationSession, OfferingStrategy offeringStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          Standard initialize method to be called after using the empty constructor.
 boolean isMAC()
          Method which states if the current acceptance strategy is the Multi-Acceptance Strategy.
 java.lang.String printParameters()
           
 void setOpponentUtilitySpace(negotiator.protocol.BilateralAtomicNegotiationSession fNegotiation)
          Method which may be overwritten to get access to the opponent's utilityspace in an experimental setup.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptanceStrategy

public AcceptanceStrategy()
Method Detail

init

public void init(NegotiationSession negotiationSession,
                 OfferingStrategy offeringStrategy,
                 java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          throws java.lang.Exception
Standard initialize method to be called after using the empty constructor. Most of the time this method should be overridden for usage by the decoupled framework.

Parameters:
negotiationSession - state of the negotiation.
offeringStrategy - of the agent.
parameters - of the acceptance strategy.
Throws:
java.lang.Exception - thrown when initializing the acceptance strategy fails.

printParameters

public java.lang.String printParameters()
Returns:
string representation of the parameters supplied to the model.

setOpponentUtilitySpace

public void setOpponentUtilitySpace(negotiator.protocol.BilateralAtomicNegotiationSession fNegotiation)
Method which may be overwritten to get access to the opponent's utilityspace in an experimental setup.

Parameters:
fNegotiation - reference to negotiation setting.

determineAcceptability

public abstract Actions determineAcceptability()
Determines to either to either accept or reject the opponent's bid or even quit the negotiation.

Returns:
one of three possible actions: Actions.Accept, Actions.Reject, Actions.Break.

isMAC

public boolean isMAC()
Method which states if the current acceptance strategy is the Multi-Acceptance Strategy. This method should always return false, except for the MAC.

Returns:
if AC is MAC.